﻿using System;
using System.Collections.Generic;
using NHibData;

namespace StudyEnglish.Model
{
    public class File : BaseEntity
    {
        public virtual DateTime? UploadDate { get; set; }
        public virtual bool IsTemporary { get; set; }

        public virtual string FileType { get; set;  }

        public virtual int FileSize { get; set; }
        public virtual string InitialFileName { get; set; }
        public virtual string InitialFilePath { get; set; }
        public virtual string ServerFileName { get; set; }

        public virtual string Tags { get; set; }
        public virtual string Comments { get; set; }

        public virtual IList<DictionaryItem> RelatedDictionaryItems { get; protected set; }

        public File()
        {
            RelatedDictionaryItems = new List<DictionaryItem>();
        }
    }
}
